package cn.com.wdjedu.androidapp.wjeduandroid.ui.mainfragment;

import java.util.List;

/**
 * Created by CCY on 2017/2/14.
 */

public class MainBean  {


    /**
     * statusCode : {"code":200,"message":"成功"}
     * ads : [{"id":4,"url":"http://www.baidu.com","image":"/images/ads4.png","type":0},{"id":3,"url":"http://www.baidu.com","image":"/images/ads3.png","type":0},{"id":2,"url":"http://www.baidu.com","image":"/images/ads2.png","type":0}]
     * types : [{"id":1,"name":"UI设计","parent_id":0,"picture_path":"/images/ui2.png"},{"id":2,"name":"Java","parent_id":0,"picture_path":"/images/java2.png"},{"id":3,"name":"IOS","parent_id":0,"picture_path":"/images/swift2.png"},{"id":4,"name":"Android","parent_id":0,"picture_path":"/images/android2.png"},{"id":5,"name":"VR","parent_id":0,"picture_path":"/images/vr2.png"},{"id":6,"name":"H5","parent_id":0,"picture_path":"/images/H52.png"}]
     * course : [{"name":"JAVA","content":[{"id":1,"video_path":"/java/1/1/java-1-1-1.mp4","type_id":2,"name":"java发展历史-1","unit":1,"chapter":1,"video_time":"8:50","is_money":1,"price":999,"study_number":0,"image":"/images/1.png","title":"Core Jave/Java核心知识-第一单元"},{"id":25,"video_path":"/java/2/1/java-2-1-1.mp4","type_id":2,"name":"java方法的应用-1","unit":2,"chapter":1,"video_time":"15:08","is_money":1,"price":999,"study_number":0,"image":"/images/2.png","title":"Java基本方法-第二单元"},{"id":52,"video_path":"/java/3/1/java-3-1-1.mp4","type_id":2,"name":"java数组-1","unit":3,"chapter":1,"video_time":"7:21","is_money":1,"price":999,"study_number":0,"image":"/images/3.png","title":"Java数据处理-第三单元"},{"id":80,"video_path":"/java/4/1/java-4-1-1.mp4","type_id":2,"name":"Java继承-1","unit":4,"chapter":1,"video_time":"10:38","is_money":1,"price":999,"study_number":0,"image":"/images/4.png","title":"继承/重载/抽象类/接口/可视化编程-第四单元"},{"id":115,"video_path":"/java/5/1/java-5-1-1.mp4","type_id":2,"name":"Java-equals方法-1","unit":5,"chapter":1,"video_time":"10:00","is_money":1,"price":999,"study_number":0,"image":"/images/5.png","title":"异常与集合-第五单元"},{"id":138,"video_path":"/java/6/1/java-6-1-1.mp4","type_id":2,"name":"Java文件-1","unit":6,"chapter":1,"video_time":"12.80","is_money":1,"price":999,"study_number":0,"image":"/images/6.png","title":"文件与流-第六单元"},{"id":208,"video_path":"/java/7/1/java-7-1-1.mp4","type_id":2,"name":"Java创建线程-1","unit":7,"chapter":1,"video_time":"12.80","is_money":1,"price":999,"study_number":0,"image":"/images/7.png","title":"线程-第七单元"},{"id":232,"video_path":"/java/8/1/java-8-1-1.mp4","type_id":2,"name":"Java-Socket_一对一双向通讯-1","unit":8,"chapter":1,"video_time":"9.50","is_money":1,"price":999,"study_number":0,"image":"/images/8.png","title":"网络编程-第八单元"},{"id":256,"video_path":"/java/9/1/java-9-1-1.mp4","type_id":2,"name":"Java代理模式_静态代理-1","unit":9,"chapter":1,"video_time":"9.50","is_money":1,"price":999,"study_number":0,"image":"/images/9.png","title":"Java进阶-第九单元"},{"id":324,"video_path":"/java/10/1/java-10-1-1.mp4","type_id":2,"name":"Java简单的jdbc操作MySQL-1","unit":10,"chapter":1,"video_time":"11.50","is_money":1,"price":999,"study_number":0,"image":"/images/10.png","title":"JDBC数据库编程-第十单元"},{"id":385,"video_path":"/java/11/1/java-11-1-1.mp4","type_id":2,"name":"Java-httpServletReson处理中文乱码-1","unit":11,"chapter":1,"video_time":"11.50","is_money":1,"price":999,"study_number":0,"image":"/images/11.png","title":"JavaWeb编程/Servlet-第十一单元"},{"id":545,"video_path":"/java/12/1/java-12-1-1.mp4","type_id":2,"name":"Java-struts2认识-1","unit":12,"chapter":1,"video_time":"11.50","is_money":1,"price":999,"study_number":0,"image":"/images/12.png","title":"Struts框架编程-第十二单元"}]}]
     */

    private StatusCodeBean statusCode;
    private List<AdsBean> ads;
    private List<TypesBean> types;
    private List<CourseBean> course;

    public StatusCodeBean getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(StatusCodeBean statusCode) {
        this.statusCode = statusCode;
    }

    public List<AdsBean> getAds() {
        return ads;
    }

    public void setAds(List<AdsBean> ads) {
        this.ads = ads;
    }

    public List<TypesBean> getTypes() {
        return types;
    }

    public void setTypes(List<TypesBean> types) {
        this.types = types;
    }

    public List<CourseBean> getCourse() {
        return course;
    }

    public void setCourse(List<CourseBean> course) {
        this.course = course;
    }

    public static class StatusCodeBean {
        /**
         * code : 200
         * message : 成功
         */

        private int code;
        private String message;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }

    public static class AdsBean {
        /**
         * id : 4
         * url : http://www.baidu.com
         * image : /images/ads4.png
         * type : 0
         */

        private int id;
        private String url;
        private String image;
        private int type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    public static class TypesBean {
        /**
         * id : 1
         * name : UI设计
         * parent_id : 0
         * picture_path : /images/ui2.png
         */

        private int id;
        private String name;
        private int parent_id;
        private String picture_path;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getParent_id() {
            return parent_id;
        }

        public void setParent_id(int parent_id) {
            this.parent_id = parent_id;
        }

        public String getPicture_path() {
            return picture_path;
        }

        public void setPicture_path(String picture_path) {
            this.picture_path = picture_path;
        }
    }

    public static class CourseBean {
        /**
         * name : JAVA
         * content : [{"id":1,"video_path":"/java/1/1/java-1-1-1.mp4","type_id":2,"name":"java发展历史-1","unit":1,"chapter":1,"video_time":"8:50","is_money":1,"price":999,"study_number":0,"image":"/images/1.png","title":"Core Jave/Java核心知识-第一单元"},{"id":25,"video_path":"/java/2/1/java-2-1-1.mp4","type_id":2,"name":"java方法的应用-1","unit":2,"chapter":1,"video_time":"15:08","is_money":1,"price":999,"study_number":0,"image":"/images/2.png","title":"Java基本方法-第二单元"},{"id":52,"video_path":"/java/3/1/java-3-1-1.mp4","type_id":2,"name":"java数组-1","unit":3,"chapter":1,"video_time":"7:21","is_money":1,"price":999,"study_number":0,"image":"/images/3.png","title":"Java数据处理-第三单元"},{"id":80,"video_path":"/java/4/1/java-4-1-1.mp4","type_id":2,"name":"Java继承-1","unit":4,"chapter":1,"video_time":"10:38","is_money":1,"price":999,"study_number":0,"image":"/images/4.png","title":"继承/重载/抽象类/接口/可视化编程-第四单元"},{"id":115,"video_path":"/java/5/1/java-5-1-1.mp4","type_id":2,"name":"Java-equals方法-1","unit":5,"chapter":1,"video_time":"10:00","is_money":1,"price":999,"study_number":0,"image":"/images/5.png","title":"异常与集合-第五单元"},{"id":138,"video_path":"/java/6/1/java-6-1-1.mp4","type_id":2,"name":"Java文件-1","unit":6,"chapter":1,"video_time":"12.80","is_money":1,"price":999,"study_number":0,"image":"/images/6.png","title":"文件与流-第六单元"},{"id":208,"video_path":"/java/7/1/java-7-1-1.mp4","type_id":2,"name":"Java创建线程-1","unit":7,"chapter":1,"video_time":"12.80","is_money":1,"price":999,"study_number":0,"image":"/images/7.png","title":"线程-第七单元"},{"id":232,"video_path":"/java/8/1/java-8-1-1.mp4","type_id":2,"name":"Java-Socket_一对一双向通讯-1","unit":8,"chapter":1,"video_time":"9.50","is_money":1,"price":999,"study_number":0,"image":"/images/8.png","title":"网络编程-第八单元"},{"id":256,"video_path":"/java/9/1/java-9-1-1.mp4","type_id":2,"name":"Java代理模式_静态代理-1","unit":9,"chapter":1,"video_time":"9.50","is_money":1,"price":999,"study_number":0,"image":"/images/9.png","title":"Java进阶-第九单元"},{"id":324,"video_path":"/java/10/1/java-10-1-1.mp4","type_id":2,"name":"Java简单的jdbc操作MySQL-1","unit":10,"chapter":1,"video_time":"11.50","is_money":1,"price":999,"study_number":0,"image":"/images/10.png","title":"JDBC数据库编程-第十单元"},{"id":385,"video_path":"/java/11/1/java-11-1-1.mp4","type_id":2,"name":"Java-httpServletReson处理中文乱码-1","unit":11,"chapter":1,"video_time":"11.50","is_money":1,"price":999,"study_number":0,"image":"/images/11.png","title":"JavaWeb编程/Servlet-第十一单元"},{"id":545,"video_path":"/java/12/1/java-12-1-1.mp4","type_id":2,"name":"Java-struts2认识-1","unit":12,"chapter":1,"video_time":"11.50","is_money":1,"price":999,"study_number":0,"image":"/images/12.png","title":"Struts框架编程-第十二单元"}]
         */

        private String name;
        private List<ContentBean> content;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public static class ContentBean {
            /**
             * id : 1
             * video_path : /java/1/1/java-1-1-1.mp4
             * type_id : 2
             * name : java发展历史-1
             * unit : 1
             * chapter : 1
             * video_time : 8:50
             * is_money : 1
             * price : 999
             * study_number : 0
             * image : /images/1.png
             * title : Core Jave/Java核心知识-第一单元
             */

            private int id;
            private String video_path;
            private int type_id;
            private String name;
            private int unit;
            private int chapter;
            private String video_time;
            private int is_money;
            private int price;
            private int study_number;
            private String image;
            private String title;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getVideo_path() {
                return video_path;
            }

            public void setVideo_path(String video_path) {
                this.video_path = video_path;
            }

            public int getType_id() {
                return type_id;
            }

            public void setType_id(int type_id) {
                this.type_id = type_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getUnit() {
                return unit;
            }

            public void setUnit(int unit) {
                this.unit = unit;
            }

            public int getChapter() {
                return chapter;
            }

            public void setChapter(int chapter) {
                this.chapter = chapter;
            }

            public String getVideo_time() {
                return video_time;
            }

            public void setVideo_time(String video_time) {
                this.video_time = video_time;
            }

            public int getIs_money() {
                return is_money;
            }

            public void setIs_money(int is_money) {
                this.is_money = is_money;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public int getStudy_number() {
                return study_number;
            }

            public void setStudy_number(int study_number) {
                this.study_number = study_number;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}
